package com.jhoncy.myproject.common.dto;

import lombok.Getter;

/**
 * 分页response
 * Created by zhuangqi on 2017/3/15.
 */
@Getter
public class PageResponse<T> extends RestResponse<T> {

    private int start;
    private int rows;
    private int count;

    public PageResponse(int start, int rows) {
        super();
        this.start = start;
        this.rows = rows;
        this.count = 0;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
